package com.woniu.park.service.impl;

import com.woniu.park.service.SmsService;
import org.springframework.stereotype.Service;

@Service
public class SmsServiceImpl implements SmsService {

    @Override
    public void send(String mobile, String code) {
        final String message = String.format("【共享车位】您正在找回密码，验证码是%s,请在5分钟内输入", code);
        //发送验证码操作，出现异常时抛出异常
        System.out.println("------>"+message);

    }
}
